﻿//-----------------------------------------------------------------------
// <copyright file="UserTask.cs" company="Simnova LLC">
//     Copyright (c) Simnova LLC. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Simnova.Collaborate.ServiceContract.DataClasses
{
    using System;
    using System.Runtime.Serialization;

    [DataContract]
    public class UserTask
    {
        [DataMember(Name = "UserTaskId")]
        private int userTaskId;
        private int userId;
        private int taskId;
        [DataMember(Name = "CreateDate")]
        private DateTime createDate;

        public int UserTaskId
        {
            get { return this.userTaskId; }
        }

        [DataMember]
        public int UserId
        {
            get { return this.userId; }
            set { this.userId = value; }
        }

        [DataMember]
        public int TaskId
        {
            get { return this.taskId; }
            set { this.taskId = value; }
        }

        public DateTime CreateDate
        {
            get { return this.createDate; }
        }
    }
}
